﻿using Main.UI;
using Main.UI.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Main.Engine
{
    class RibbonBarWrapper : IRibbonBar
    {
        public static IRibbonBar Instance { get; private set; }
        static RibbonBarWrapper() { Instance = new RibbonBarWrapper(); }

        private RibbonBarWrapper()
        {
            RibbonBar = Console.Instance.MainRibbonBar;
        }

        private Ribbon RibbonBar { get; set; }

        public void Adjust(Visibility value)
        {
            if (value == Visibility.Show)
            {
                RibbonBar.Show();
            }
            else if (value == Visibility.Show)
            {
                RibbonBar.Hide();
            }
        }
    }
}
